﻿using System;
using System.ComponentModel;

using Warehouse.Service.Data;
using Warehouse.Silverlight.Core.Infrastructure.Events;

namespace Warehouse.Silverlight.Modules.Main.Models
{
    public interface IProductSearchModel
    {
        bool IsBusy { get; }
        bool HasChanges { get; }
        bool HasErrors { get; }

        event EventHandler<EntityResultsArgs<Category>> GetCategoriesComplete;
        void GetCategoriesAsync();


        event PropertyChangedEventHandler PropertyChanged;
    }
}
